Routines (alphabetical) > Routines: J > Java-IDL Bridge Routines > JIDLProcessInitializer

JIDLProcessInitializer

Declaration

public class JIDLProcessInitializer

 

java.lang.Object

  |

  +--com.idl.javaidl.JIDLProcessInitializer

Description

When a client calls the createObject method of either the JIDLArray or JIDLArray class, the JIDLProcessInitializer object can be passed in to control IDL process creation. Currently, this object controls the licensing mode of the IDL Process.

Member Summary

Fields

static int

LICENSING_FULL

The IDL process requires a full license.

static int

LICENSING_LICENSED_SAV

The IDL process launches a SAVE file with an embedded license.

static int

LICENSING_RUNTIME

The IDL process requires a runtime license.

static int

LICENSING_VM

The IDL process runs in Virtual Machine mode.

Constructors

 

JIDLProcessInitializer()

Construct a process initializer object.

 

JIDLProcessInitializer(int)

Construct a process initializer object.

Methods

int

getLicenseMode()

Retrieve the current licensing mode.

void

setLicenseMode(int)

Set the licensing mode.

 

Inherited Member Summary

Methods inherited from class Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(long, int), wait(long, int), wait(long, int)

Fields

LICENSING_FULL

public static final int LICENSING_FULL

If this flag is set, the Java application requires that a licensed copy of IDL be installed on the local machine. If IDL is installed but no license is available, the application will run in IDL Demo (7-minute) mode.

LICENSING_LICENSED_SAV

public static final int LICENSING_LICENSED_SAV

If this flag is set, the Java application looks for an embedded license in the save file being restored.

LICENSING_RUNTIME

public static final int LICENSING_RUNTIME

If this flag is set, the Java application looks for a runtime IDL license. If no runtime license is available, the application will run in Virtual Machine mode.

LICENSING_VM

public static final int LICENSING_VM

If this flag is set, the Java application will run in Virtual Machine mode.

Constructors

JIDLProcessInitializer()

public JIDLProcessInitializer()

JIDLProcessInitializer(int)

public JIDLProcessInitializer(int licenseMode)

Methods

getLicenseMode()

public int getLicenseMode()

Returns:

The current licensing mode.

setLicenseMode(int)

public void setLicenseMode(int licenseMode)